package com.jweb.framework.security.crypto.common;
/**
 * 修改人： Thomas
 * 修改内容：新增 
 * 类说明：类型定义
 */
public enum EAlgorithm {
	
	DES("DES" , "0"),
	DESede("DESede" , "1"),
	RSA("RSA" , "2"),
	AES("AES" , "3"),
	MD5("MD5" , "4"),
	SHA1("SHA1" , "5"),
	SHA_256("SHA_256" , "6"),
	SHA1withRSA("SHA1withRSA" , "7"),
	MD5withRSA("MD5withRSA" , "8"),
	SHA256withRSA("SHA256withRSA" , "9"),
	X_509("X_509" , "10"),
	DES_CBC_PKCS5Padding("DES/CBC/PKCS5Padding" , "11"),
	
	DESede_CBC_PKCS5Padding("DESede_CBC_PKCS5Padding" , "12"),
	AES_ECB_PKCS5Padding("AES_ECB_PKCS5Padding" , "13"),
	HmacSHA1("HmacSHA1" , "14") ,
	
	;
	
	private String status;
    private String desc;

    private EAlgorithm(String status , String desc) {
        this.status = status;
        this.desc = desc;
    }
    
    @Override
    public String toString() {
        return this.getStatus() ;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
